package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class PackageAddDTO {
    @ApiModelProperty("藏品Id")
    @NotNull(message = "请选择藏品")
    private Long collectionId;
    @ApiModelProperty("套餐名称")
    @NotBlank(message = "请填写套餐名称")
    private String packageName;
    @ApiModelProperty("开始时间")
    @NotNull(message = "请选择开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty("结束时间")
    @NotNull(message = "请选择结束时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    @ApiModelProperty("启用状态")
    private Boolean status = false;
    @ApiModelProperty("套餐说明")
    private String packageDescription;
}
